package com.cdgeekcamp.redas.db.model;

import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

public interface R_PositionCompanyEmployeeRepository extends CrudRepository<R_PositionCompanyEmployee, Integer> {
    Optional<R_PositionCompanyEmployee> findByEmployeeIdAndCompanyIdAndPositionId(
            Integer employeeId, Integer companyId, Integer positionId);
}
